//
//  JGeocodeSearchModel.h
//  decoration_user
//
//  Created by Mac on 2020/11/17.
//  Copyright © 2020 计海峰. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CooperSDK/JDefine.h>

NS_ASSUME_NONNULL_BEGIN

@interface JGeocodeSearchModel : NSObject

// 不要用
JSingletonH();

@property (nonatomic, copy) BlockId errorBlock;


///  地理编码
/// @param address 地址
/// @param result 结果
- (void)geocodeSearch:(NSString *)address locationInfoResult:(BlockId)result;


///  地理编码
/// @param address 地址
/// @param result 结果
- (void)geocodeSearch:(NSString *)address geocodeSearchResponseResult:(BlockId)result;


///  逆地理编码
/// @param latitude 经度
/// @param longitude 纬度
- (void)reGeocodeSearchLatitude:(CGFloat)latitude longitude:(CGFloat)longitude locationInfoResult:(BlockId)result;


- (void)reGeocodeExtensionSearchLatitude:(CGFloat)latitude longitude:(CGFloat)longitude reGeocodeSearchResponseResult:(BlockId)result;

@end

NS_ASSUME_NONNULL_END
